/**
 * @description: user
 * @date: 2022-04-18 17:17
 */

import { defineStore } from 'pinia'

export const useUserStore = defineStore({
  id: 'user',
  state: () => ({
    token: undefined
  }),
  actions: {
    setToken (token) {
      this.token = token
    }
  }
})
